package cn.lanqiao.common.vo;

import cn.lanqiao.common.entity.Cinema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class CinemaVo extends Cinema {

    private Integer id;

    private String filmName;

    private Integer typeId;

    private Double price;

    private Integer count;

    private Integer performerId;

    private String endTime;
    //@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    private String info;

    private String images;

    private Integer commentId;

    private Double score;

    private Integer showRoomId;

    private String showRoomName1;

    private String showRoomName2;

    private String showRoomName3;

    private String showRoomName4;

    private String showRoomName5;

}
